<?php require_once 'include/head.php';?>
<div class="mB50">
<!--h_r start-->
<?php if(count($users)>0){
    foreach($users as $key=>$value){?>
<div class="h_r wd95 mA">
		<ul>
        	<li class="tt on">
            	<div class="clearfix">
                    <span class="fl wd30">
                        账户：<font class="a"><?php echo $value['username'];?></font>
                    </span>
                    <span class="fl wd30">
                        级别：<font class="a" style="color: <?php echo $value['color'];?>"><?php echo $value['user_level_name'];?></font>
                    </span>
                </div>
            </li>
            <li class="hide">
                <span class="disB">
                    手机号：<font class="a"><?php echo $value['phone'];?></font>
                </span>
            </li>
            <li class="clearfix hide">
                <span class="fl wd30">
                    上级：<font class="a"><?php echo $value['ptrue_name'];?></font>
                </span>
                <span class="fl wd30">
                    账户：<font class="a"><?php echo $value['parent_name'];?></font>
                </span>
                <span class="fl wd40">
                    时间：<font class="a"><?php echo date('Y.m.d',$value['pcreate_time']);?></font>
                </span>
            </li>
            <li class="clearfix hide">
                <span class="fl">
                    详细地址：<font class="a"><?php echo $value['address'];?></font>
                </span>
            </li>
            <li class="clearfix">
                <a class="disB clearfix" href="/wap/home/next_users?parent_id=<?php echo $value['id'];?>" alt="" style="background:url(/public_source/wap/img/icon_01.png) no-repeat right center;background-size:12px;">
                    <span class="fl">
                        下级个数
                    </span>
                    <span class="fr" style="padding-right:20px;">
                        <font class="a"><?php echo $value['next_count'];?>人</font>
                    </span>
                </a>
            </li>
            
            <li class="clearfix hide">
                <span class="fl">
                    业绩
                </span>
                <span class="fr">
                    <font class="a"><?php echo $value['performance'];?></font>
                </span>
            </li>
            
            <li class="clearfix hide">
                <span class="fl">
                    费用
                </span>
                <span class="fr">
                    <font class="a"><?php echo $value['price'];?></font>
                </span>
            </li>
        </ul>
    </div>
<?php }}else{ echo '暂无下级';} ?>
<!--h_r end-->
</div>
</body>
<script type="text/javascript" src="/public_source/wap/js/my.js"></script>
</html>